// 应用配置文件
module.exports = {
    // 应用基础配置
    app: {
        name: 'CCloud AI Agent',
        version: '1.0.0',
        id: 'com.ccloud.agent'
    },
    
    // 窗口配置
    window: {
        defaultWidth: 1400,
        defaultHeight: 980,
        minWidth: 800,
        minHeight: 600,
        backgroundColor: '#0a0a0b',
        show: false,
        webPreferences: {
            nodeIntegration: true,
            contextIsolation: false,
            enableRemoteModule: false,
            preload: require('path').join(__dirname, '../preload.js'),
            webSecurity: false,
            allowRunningInsecureContent: true,
            sandbox: false
        }
    },
    
    // 开发模式配置
    development: {
        devTools: true,
        hotReload: true,
        autoOpenDevTools: true
    },
    
    // API 配置
    api: {
        baseURL: 'https://open.bigmodel.cn/api/anthropic/',
        timeout: 30000
    }
};
